package com.gjy.minio.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-09-05 11:05:43
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping("/now")
    public LocalDateTime now() {
        return LocalDateTime.now();
    }
}
